<%@ page language="C#" autoeventwireup="true" inherits="Manage_Reports_InvoiceReport, App_Web_invoicereport.aspx.baaec6cb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Import Namespace="System.Data" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
	<LINK href="../css.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<script language="javascript" src="../../js/jslib.js" type="text/javascript"></script>
</head>
<body topmargin="0" leftmargin="0">
    <form id="form1" runat="server">
    <div>
      <table width="99%" align="center"  border="0" cellspacing="0" cellpadding="0" class="NormalText">
        <tr>
          <td align="left" style="height: 40px" class="HeadText">Invoice report</td>
        </tr>
		<TR>
					<TD align=left valign=top>
						<asp:DataList id="DataList1" runat="server" Width="99%" RepeatDirection="Horizontal" RepeatColumns="1">
							<ItemStyle VerticalAlign=top />
							<ItemTemplate>
								
								<table width="350" border="0" cellpadding="1" cellspacing="1" bgcolor="#000000" align="center">
          <tr bgcolor="#ffffff">
            <td height="24" align="left">Name of client:<%# Eval("OrgName") %></td>
            </tr>
          <tr bgcolor="#ffffff">
            <td height="24" align="left">Our reference:<%# Eval("Sid") %></td>
            </tr>
          <tr bgcolor="#ffffff">
            <td height="24" align="left" valign=top>
            <asp:DataList ID="DataList2" runat="server" Width=950 CellPadding=1 CellSpacing=1 BorderWidth=0 DataSource=<%# ((DataRowView)Container.DataItem).Row.GetChildRows("r1") %>>
            <HeaderTemplate>
              <tr>
                <td height="23" bgcolor="#cccccc">Date of invoice</td>
                <td bgcolor="#cccccc">Invoice due date</td>
                <td bgcolor="#cccccc">Net pay</td>
                <td bgcolor="#cccccc">Finance cost</td>
                <td bgcolor="#cccccc">Amount charged</td>
                <td bgcolor="#cccccc">Penalty</td>
                <td bgcolor="#cccccc">Late interest</td>
                <td bgcolor="#cccccc">Amount received</td>
                <td bgcolor="#cccccc">Balance</td>
                <td bgcolor="#cccccc">Status of the invoice</td>
              </tr>
            </HeaderTemplate>
                <ItemTemplate>
                   <tr>
                   <td><%# DataBinder.Eval(Container.DataItem, "[\"InvoiceDate\"]")%></td>
                   <td><%# DataBinder.Eval(Container.DataItem, "[\"InvoiceDate\"]")%></td>
                   <td><%# DataBinder.Eval(Container.DataItem, "[\"InvoiceAmount\"]")%></td>
                   <td><%# DataBinder.Eval(Container.DataItem, "[\"InvoiceAmount\"]")%></td>
                   <td><%# DataBinder.Eval(Container.DataItem, "[\"InvoiceAmount\"]")%></td>
                   <td><%# DataBinder.Eval(Container.DataItem, "[\"InvoiceAmount\"]")%></td>
                   </tr>
                </ItemTemplate>
                </asp:DataList>
            </td>
          </tr>
        </table><br />
								
							</ItemTemplate>
						</asp:DataList></TD>
				</TR>
				<tr>
					<td>
						<asp:label id="lab_pageInfo" runat="server"></asp:label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:linkbutton id="lbtn_first" runat="server" CommandName="first">First</asp:linkbutton>&nbsp;
						<asp:linkbutton id="lbtn_pre" runat="server" CommandName="pre">Prev</asp:linkbutton>&nbsp;
						<asp:linkbutton id="lbtn_next" runat="server" CommandName="next">Next</asp:linkbutton>&nbsp;
						<asp:linkbutton id="lbtn_last" runat="server" CommandName="last">Last</asp:linkbutton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
						Go
						<asp:dropdownlist id="drp_PageJumping" runat="server" CssClass="scrollButton" AutoPostBack="True"></asp:dropdownlist>
					</td>
				</tr>
      </table>
    
    </div>
    </form>
</body>
</html>
